﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;

namespace BLL
{
    public class LoaibenhBLL
    {
        LoaiBenhDAL tk = new LoaiBenhDAL();
        public List<LOAIBENH> LayDSLoaiBenh()
        {

            return tk.LayDSLoaiBenh();
        }
        public bool ThemLoaiBenh(LOAIBENH s)
        {
            return tk.ThemLoaiBenh(s);
        }
        public bool suaLoaiBenh(LOAIBENH s)
        {

            return tk.suaLoaiBenh(s);
        }
        public bool xoaLoaiBenh(string LoaiBenhID)
        {
            return tk.xoaLoaiBenh(LoaiBenhID);
        }
        public IQueryable timKiemLoaiBenh(string ma, string ten)
        {
            return tk.timKiemLoaiBenh(ma,ten);
        }
    }
}
